package com.axzhengxin.platform.afterloan.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * inventory_loan_info
 * 存量业务对象
 *
 * @author axzhengxin
 * @date 2021-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class InventoryLoanInfo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 客户编号
     */
    private String customerId;

    /**
     * 客户名称
     */
    @Excel(name = "客户名称")
    private String customerName;

    /**
     * 统一社会信用代码
     */
    @Excel(name = "统一社会信用代码")
    private String uniscid;

    /**
     * 业务所属地区代码
     */
    @Excel(name = "业务所属地区", dictType = "area_codes")
    private String areaCode;

    /**
     * 授信合同号
     */
    @Excel(name = "授信合同号")
    private String approveContractNo;

    /**
     * 授信金额(万元)
     */
    @Excel(name = "授信金额(万元)")
    private BigDecimal approveAmount;

    /**
     * 授信开始日期(例:2020/10/1)
     */
    @Excel(name = "授信开始日期(例:2020/10/1)")
    private String approveStart;

    /**
     * 授信到期日期(例:2020/10/1)
     */
    @Excel(name = "授信到期日期(例:2020/10/1)")
    private String approveEnd;

    /**
     * 借款合同号
     */
    @Excel(name = "借款合同号")
    private String loanContractNo;

    /**
     * 借款金额(万元)
     */
    @Excel(name = "借款金额(万元)")
    private BigDecimal loanAmount;

    /**
     * 借款日期(例:2020/10/1)
     */
    @Excel(name = "借款日期(例:2020/10/1)")
    private String loanStart;

    /**
     * 贷款期限(月)
     */
    @Excel(name = "贷款期限(月)")
    private Long loanTime;

    /**
     * 贷款利率(%)
     */
    @Excel(name = "贷款利率(%)")
    private BigDecimal loanRatio;

    /**
     * 担保方式
     */
    @Excel(name = "担保方式", dictType = "guarantee_type")
    private String guaranteeType;

    /**
     * 是否首贷
     */
    @Excel(name = "是否首贷", dictType = "sys_yes_no")
    private String ifFirstLoan;

    /**
     * 是否执行预警
     */
    private String ifExecWarn;

    /**
     * 是否实名
     * 字典表:sys_yes_no
     */
    private String ifAuth;

}